package org.dr.st_docker.aop.aspectj.service;

import org.dr.st_docker.aop.aspectj.pojo.Role;
import org.springframework.stereotype.Component;

@Component
public class RoleServiceImpl implements RoleService {

    //一·
    // @Override
    // public void printRole(Role role) {
    //     System.out.println(role.toString());
    // }

    @Override
    public void printRole(Role role, int sort) {
        System.out.println("排序参数sort："+sort+"---"+role.toString());
    }

}
